package com.driving.single.frontend.user.service;

import com.driving.single.common.entity.DrivingResult;
import com.driving.single.frontend.user.dto.param.PhoneRegisterParam;

public interface FrontendUserService {
    DrivingResult userLogin(String account, String password);

    DrivingResult sendRegisterSms(String phone);

    DrivingResult userRegisterWithCode(PhoneRegisterParam phoneRegisterParam);

    DrivingResult checkPhone(String phone);

    DrivingResult checkUsername(String username);

    DrivingResult selectTbUserById(Long uid);

    DrivingResult sendLoginSms(String phone);

    DrivingResult userLoginWithPhoneCode(String phone, String code);
}
